package tables

import (
	"time"
)

type CourseVideo struct {
	Id            int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	Url           string    `xorm:"" json:"url" form:"url" mapstructure:"url"`
	Title         string    `xorm:"" json:"title" form:"title" mapstructure:"title"`
	Type          int       `xorm:"" json:"type" form:"type" mapstructure:"type"`
	CreatedAt     time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt     time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt     time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	Duration      float32   `xorm:"" json:"duration" form:"duration" mapstructure:"duration"`
	Acid          int       `xorm:"" json:"acid" form:"acid" mapstructure:"acid"`
	SubMchId      string    `xorm:"" json:"sub_mch_id" form:"sub_mch_id" mapstructure:"sub_mch_id"`
	Price         float32   `xorm:"" json:"price" form:"price" mapstructure:"price"`
	ListId        int       `xorm:"" json:"list_id" form:"list_id" mapstructure:"list_id"`
	GatherUrl     string    `xorm:"" json:"gather_url" form:"gather_url" mapstructure:"gather_url"`
	IsPoints      int       `xorm:"" json:"is_points" form:"is_points" mapstructure:"is_points"`
	GivePoints    int       `xorm:"" json:"give_points" form:"give_points" mapstructure:"give_points"`
	NumberOfViews int       `xorm:"" json:"number_of_views" form:"number_of_views" mapstructure:"number_of_views"`
	WatchType     int       `xorm:"" json:"watch_type" form:"watch_type" mapstructure:"watch_type"`
	WatchNumber   int       `xorm:"" json:"watch_number" form:"watch_number" mapstructure:"watch_number"`
	WatchTime     float32   `xorm:"" json:"watch_time" form:"watch_time" mapstructure:"watch_time"`
	BuyNumber     int       `xorm:"" json:"buy_number" form:"buy_number" mapstructure:"buy_number"`
	CarmineId     int       `xorm:"" json:"carmine_id" form:"carmine_id" mapstructure:"carmine_id"`
	IsFeel        int       `xorm:"" json:"is_feel" form:"is_feel" mapstructure:"is_feel"`
	WhiteList     string    `xorm:"" json:"white_list" form:"white_list" mapstructure:"white_list"`
}
